<%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page session="false" %>
<html>
<head>
<title>Spittles</title>
</head>
<body>
<h1>Recent Spittles</h1>
<c:forEach items="${spittleList}" var="spittle">
	<li id="spittle_<c:out value="spittle.id" />">
		<div class="spittleMessage">
			<c:out value="${spittle.message }"></c:out>
		</div>
		<div>
			<span class="spittleTime"><c:out value="${spittle.time }"></c:out></span>
			<span class="spittleLocation">(<c:out value="${spittle.latitude }"></c:out>
			<c:out value="${spittle.longitude }"></c:out>
			)</span>
		</div>
	</li>
</c:forEach>
</body>
</html>